/*
 * Reference.java
 *
 *  created: 21.8.2011
 *  charset: UTF-8
 *  license: MIT (X11) (See LICENSE file for full license)
 */
package cz.mp.k3bg.core;

/**
 * Třída {@code Reference} sdružuje základní parametry HTML odkazu 
 * (tag {@literal A}).
 * 
 * @author Martin Pokorný
 * @version 0.1
 */
public class Reference {

//    private static final boolean DEBUG = false;
//    private static final Logger logger =
//            LoggerManager.getLogger(Reference.class, DEBUG); 
    
    private String url;
    private String value;
    
    // -----
    
    public Reference(String url, String value) {
        this.url = url;
        this.value = value;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    
    @Override
    public String toString() {
        return url + "  (" + value + ")";
    }
   
}   // Reference
